﻿using Ebusiness_PaymentService.Model;
using Microsoft.EntityFrameworkCore;
using Volo.Abp.EntityFrameworkCore;

namespace Ebusiness_PaymentService.Data;

public class Ebusiness_PaymentServiceDbContext : AbpDbContext<Ebusiness_PaymentServiceDbContext>
{
    public Ebusiness_PaymentServiceDbContext(DbContextOptions<Ebusiness_PaymentServiceDbContext> options)
        : base(options)
    {
    }

    public DbSet<OrderPayment> orderPayments { get; set; }

    protected override void OnModelCreating(ModelBuilder builder)
    {
        base.OnModelCreating(builder);

        /* Include modules to your migration db context */
        /* Configure your own entities here */
    }
}
